package top.deepdesigner.service;

import top.deepdesigner.pojo.DtsRole;

import java.util.List;
import java.util.Set;

/**
 * Start up <br/>
 * Created with IntelliJ IDEA. <br/>
 * Project Name: shop_manage <br/>
 * Author: duanruiqing <br/>
 * DateTime: 2022/9/20 星期二 19:14:33 <br/>
 */
public interface DtsRoleService {
  Set<String> getRoleIdByIds(Integer[] roleIds);

  Long getRoleCount();

  List<DtsRole> getRoleList(Integer page, Integer limit, String sort, String order);

  List<DtsRole> getRoleList();

  DtsRole createRole(String name, String desc);

  Boolean updateRole(DtsRole dtsRole);

  Boolean deleteRole(Integer id);
}
